package hibernate2;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "course_choice")
@Entity
public class CourseChoice {
	@Override
	public String toString() {
		return "CourseChoice [id=" + id + ", create_datetime=" + create_datetime + ", course_information_id="
				+ course_information_id + ", scorelist_id=" + scorelist_id + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCreate_datetime() {
		return create_datetime;
	}
	public void setCreate_datetime(String create_datetime) {
		this.create_datetime = create_datetime;
	}
	public int getCourse_information_id() {
		return course_information_id;
	}
	public void setCourse_information_id(int course_information_id) {
		this.course_information_id = course_information_id;
	}
	public int getScorelist_id() {
		return scorelist_id;
	}
	public void setScorelist_id(int scorelist_id) {
		this.scorelist_id = scorelist_id;
	}
	@Id
	@Column(name = "id")
	private int id;
	@Column(name = "create_datetime")
	private String create_datetime;
	@Column(name = "course_information_id")
	int course_information_id;
	@Column(name = "scorelist_id")
	private int scorelist_id;
}
